package pers.chao.logger.enums;

/**
 * Description: 日志文件名分类   *.log
 *
 * @author W.Chao
 * @date 2020/11/22 10:52
 **/
public enum LogFileType {
	IMPORTANT("IMPORTANT"),
	SPECIAL("SPECIAL"),
	ERROR("ERROR"),
	WARN("WARN"),
	COMMON("COMMON"),
	TEST("TEST"),
	NO_TYPE("");

	private String type;

	LogFileType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public static LogFileType getFileType(String value){
		return valueOf(value);
	}
}
